package com.mengmablog.blog.entity;

import java.util.Date;

public class Users {
    private Integer id;

    private String username;

    private String passwordMd5;

    private String email;

    private String screenName;

    private Date created;

    private Date logged;

    public Users(Integer id, String username, String passwordMd5, String email, String screenName, Date created, Date logged) {
        this.id = id;
        this.username = username;
        this.passwordMd5 = passwordMd5;
        this.email = email;
        this.screenName = screenName;
        this.created = created;
        this.logged = logged;
    }

    public Users() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPasswordMd5() {
        return passwordMd5;
    }

    public void setPasswordMd5(String passwordMd5) {
        this.passwordMd5 = passwordMd5 == null ? null : passwordMd5.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getScreenName() {
        return screenName;
    }

    public void setScreenName(String screenName) {
        this.screenName = screenName == null ? null : screenName.trim();
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Date getLogged() {
        return logged;
    }

    public void setLogged(Date logged) {
        this.logged = logged;
    }
}